package common;

/**
 * User: key
 * ClassName:ResponseCode
 * Date: 2023/5/5
 * Time: 19:50
 * description:
 */
@SuppressWarnings("all")
public enum ResponseCode {
    SUCCESS(0, "成功"),
    FAIL(1, "失败");
    private int code;
    private String msg;

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    ResponseCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
